package com.tool.permission.model;

import java.io.Serializable;

public class Resource implements Serializable {

	private static final long serialVersionUID = 3550868086181394141L;
	/**
	 * 权限链接
	 */
	private String url;
	/**
	 * 正则表达式
	 */
	private String regex;
	
	
	public Resource(String url, String regex) {
		super();
		this.url = url;
		this.regex = regex;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getRegex() {
		return regex;
	}
	public void setRegex(String regex) {
		this.regex = regex;
	}
}
